<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><%@ taglib uri="http://displaytag.sf.net" prefix="display"
%>
<html:html>
    <head meta-id="UBQ9l8GF4a+hY3XeRPWVhQ==">
        <title><bean:message key="V_Seleccionar_Disciplina_Depor.title"/></title>
        
    </head>
    <body>
        
        <ul id="nav">
            <li><html:link action="/A_Volver_Gen_Reporte.do"><bean:message key="V_Seleccionar_Disciplina_Depor.label0"/><%-- Volver --%></html:link></li>
        </ul> 
        <html:form action="/A_ReporteListarDepDis" method="POST" acceptCharset="ISO-8859-1">
            <table align="center" class="container-busq">        
                    <tr> 
                        <td>Disciplina:</td>
                        <td> 
                            <html:select property="nombre" value="Seleccione Disciplina">
                                <html:option  value="Seleccione Disciplina" >Seleccione Disciplina</html:option>
                                <html:options name="Disciplinas"/>
                            </html:select>
                        </td>
                        <td  align="center">    
                            <html:submit property="" value="Buscar" styleClass="button-buscar" />                             
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" align="center" class="errors">
                            <logic:notEmpty name="error">
                                Error! Debe seleccionar una disciplina
                            </logic:notEmpty>
                        </td>
                    </tr>
                   
            </table>         
        </html:form>
        <logic:present name="deportistas_disciplina"> 
            <logic:empty name="error">
                <table cellpadding="0" cellspacing="0" border="0" width="100%" class="table-container">
                    <tr>
                        <td class="table-hl"></td>
                        <td class="table-h">
                            Deportistas asociados a la Disciplina:
                            <bean:write name="DisciplinaForm" property="nombre"/>
                        </td>
                        <td class="table-hr"></td>
                    </tr>
                    <tr>
                        <td colspan="3" class="table-cont">
                            <display:table export="false" name="sessionScope.deportistas_disciplina" pagesize="10" requestURI="/A_ReporteListarDepDis.do" 
                                    id="rd" cellpadding="0" cellspacing="0" style="width:100%;">

                                <display:column property="nombre" title="Nombres"  
                                                sortable="true" class="dtable-td-left dtable-td" />  
                                <display:column property="ci" title="C&eacute;dula"
                                                sortable="true" class="dtable-td" />  
                                <display:column property="usbid" title="USB-ID" 
                                                sortable="true" class="dtable-td" /> 


                            </display:table> 
                        </td>
                    </tr>
                </table>  
            </logic:empty>
        </logic:present>
            
    </body>
</html:html>